﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;

namespace DataApi
{
    public static class EpicCmsConstants
    {
        public static string GetTableDataProc = "sp_getContentFromTable";
        public static string GetDataHeaderProc = "sp_getContentHeaderByName";
        public static string GetDataByIdProc = "sp_getContentById";

        // Url routes
        public static string RunMethodRoute = "RunMethod";
        public static string RunMethodUrl = "m/{method}";
        public static string RunMethodController = "Data";
        public static string RunMethodAction = "RunMethod";
        public static string GetDataRoute = "GetData";
        public static string GetDataUrl = "d/{dataname}/{id}";
        public static string GetDataController = "Data";
        public static string GetDataAction = "GetData";
        public static string GetDataByIdRoute = "GetDataById";
        public static string GetDataByIdUrl = "id/{id}";
        public static string GetDataByIdController = "Data";
        public static string GetDataByIdAction = "GetDataById";
        public static string GetDataHeaderRoute = "GetDataHeader";
        public static string GetDataHeaderUrl = "h/{dataname}";
        public static string GetDataHeaderController = "Data";
        public static string GetDataHeaderAction = "GetDataHeader";
        public static string GetAliasDataRoute = "GetAliasData";
        public static string GetAliasDataUrl = "v/{alias}";
        public static string GetAliasDataController = "Data";
        public static string GetAliasDataAction = "GetAliasData";
        public static string CreateRoute = "Create";
        public static string CreateUrl = "Create/{type}/{name}/{id}";
        public static string CreateController = "Edit";
        public static string CreateAction = "Create";
        public static string ControllerRoute = "Controller";
        public static string ControllerUrl = "{controller}/{type}/{name}/{id}";
        public static string ControllerController = "Data";
        public static string ControllerAction = "Index";
        public static string DefaultRoute = "Default";
        public static string DefaultUrl = "{controller}/{action}";
        public static string DefaultController = "Data";
        public static string DefaultAction = "Index";
    }
}